import { WeaLocaleProvider } from "ecCom";
import { action, observable } from "mobx";
import { rm_tabs } from "../../constants/form";
const getLabel = WeaLocaleProvider.getLabel;

const { PROPS, THEME } = rm_tabs;
  
export default class RightMenuStore {
  @observable tabs = [
    { key: PROPS, icon: 'property-fill', tip: getLabel('502993','组件属性') },
    { key: THEME, icon: 'theme-fill', tip: getLabel('512014','表单样式') },
  ];
  @observable tabKey = PROPS;

  @action onTabChange = tabKey => {
    this.tabKey = tabKey;
  }
}